package com.wnagyg.controller;

import com.wnagyg.outer.ICallBreadByZuul;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wangyg6 on 2019/5/24 14:27.
 */
@RestController
public class HelloController {
	@Autowired
	ICallBreadByZuul callBreadByZuul;

	@GetMapping("test")
	String hello() {

		return "Hello," + callBreadByZuul.callBread();
	}
}
